﻿/**
 * @file viewdatarefnode.cpp
 * @author huangxb
 * @email 18228033207@163.com
 * @date 2024.04.20
 * @license MIT License
 * @brief 一个节点，表示引用的视图数据.
 *
 * @htmlonly
 * <span style="font-weight: bold">History</span>
 * @endhtmlonly
 * Version|Auther|Date|Describe
 * ------|----|------|--------
 * V1.0|huangxb|2024.04.20|创建
 */
#include "viewdatarefnode.h"

void CViewDataRefNode::InsertRows(int nRow, int nCount, std::list<std::shared_ptr<CViewDataRefNode>> listNode)
{
    m_nColumnCount = listNode.size();
    m_listChild.clear();
    for(auto &item:listNode)
    {
        m_listChild.push_back(item);
    }
}
